<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>弹性布局</title>
    <style>
        .container {
            display: flex;
            justify-content: space-between;
        }

        .item {
            flex: 1;
            background-color: #ccc;
            padding: 10px;
            margin-right: 10px;
            text-align: center;
        }
    </style>
</head>

<body>


    <div class="container">
        <div class="item">Div 1</div>
        <div class="item">Div 2</div>
        <div class="item">Div 3</div>
        <div class="item">Div 3</div>
        <div class="item">Div 3</div>
        <div class="item">Div 3</div>
        <!-- 添加更多的 div -->
    </div>

</body>

</html>